package com.stox.ui.javafx.charting.draw.shape;

import com.stox.ui.javafx.charting.widget.ResizableCanvas;

public abstract class AbstractShape {

	private ResizableCanvas canvas;
	
	public AbstractShape(ResizableCanvas canvas) {
		this.canvas = canvas;
	}
	
	public ResizableCanvas getCanvas() {
		return canvas;
	}
	
	public void setCanvas(ResizableCanvas canvas) {
		this.canvas = canvas;
	}
	
	public abstract void update();
	
	public abstract void paint();
	
}
